import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import First from './components/First.vue'
import pluginObj from '@/components'
Vue.use(pluginObj)

import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);
// Vue.use({
//     install(Vue) {
//         Vue.component('First', First)
//     }

// })
// Vue.use(function (Vue) {
//   Vue.component('First', First)

// })

Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')